<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        var arr = [123,123];
        console.log(arr[0]);
        console.log(arr[1]);

        var arr1 = new Array(234,567);
        console.log(arr[0]);
        console.log(arr[1]);

    </script>
</head>
<body>
    <div> 测试内容 </div>
    <?php
        // $arr = array(1,2,3,4,5);
        $arr = array("Hello World");
        // echo 的作用就是向页面当中输入字符串
        // print_f($arr) 
        // Array([0] => hello[1] = hi)
        echo $arr[0];
        echo "<br>";
        echo $arr[1];
        echo "<br>";
    ?>
</body>
</html>